package com.thermofisher.dsc.amanda.common.exception;

/**
 * Created by wenjie.yang on 1/3/2019.
 */
public class BaseException  extends  Exception{
  private int status = 200;

  public int getStatus() {
    return status;
  }

  public void setStatus(int status) {
    this.status = status;
  }

  public BaseException() {
  }

  public BaseException(int status, String message) {
    super(message);
    this.status = status;
  }

  public BaseException(String message) {
    super(message);
  }

  public BaseException(String message, Throwable cause) {
    super(message, cause);
  }

  public BaseException(Throwable cause) {
    super(cause);
  }

  public BaseException(String message, Throwable cause, boolean enableSuppression,
      boolean writableStackTrace) {
    super(message, cause, enableSuppression, writableStackTrace);
  }
}
